WP_Defender\Component\Security_Tweaks\Servers\Apache B

Total Complexity 79
Dependencies 2
Dependents 0
Total lines 581
Lines of code 370
Logical lines of code 211
Comment lines 128
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
process()
A
41 14 56
get_version()
A
49 11 31
revert()
A
45 10 42
get_rules_for_instruction()
S
44 5 58
protect_includes_directory()
S
50 5 29
protect_content_directory()
S
53 5 23
generate_htaccess_rule()
S
59 4 16
unprotect_content_directory()
S
59 4 15
unprotect_includes_directory()
S
59 4 14
get_rules()
S
51 2 32
cleanup_old_rules()
S
63 3 11
check()
S
62 3 11
protect_uploads_directory()
S
70 2 6
unprotect_upload_directory()
S
70 2 6
set_new_htaccess_config()
S
74 2 5
get_error_by_file_path()
S
67 1 9
get_new_htaccess_config()
S
82 1 3
__construct()
S
81 1 3